package org.jeecg.modules.dto.other;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * jeecg-boot-parent
 * description: <网关心跳包>
 * @author: wk
 * @Date: 2021/6/4
 */
@Data
public class DeviceHeartbeatReq implements Serializable {

    @ApiModelProperty(value = "回复流水号")
    private String orderNumber;

    @ApiModelProperty(value = "车站编号")
    private String stationCode;

    @ApiModelProperty(value = "温度")
    private float temperature;

    @ApiModelProperty(value = "湿度")
    private float humidity;

    @ApiModelProperty(value = "电压")
    private float voltage;

    @ApiModelProperty(value = "车站状态Bit0：电量不足 Bit1：温度过高 Bit2：车桩异常 Bit3：定位信号异常 Bit4-7：保留，默认置0")
    private String stationStatus;

    @ApiModelProperty(value = "经度")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    private Double latitude;

    @ApiModelProperty(value = "定位状态0：未定位 1：已定位")
    private int locationStatus;

    @ApiModelProperty(value = "车桩程序版本号")
    private String pileVersion;
}
